home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / EMBL Search / Headers / general.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-27  |  504 b   |  25 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3. #ifndef NULL
  4. #define NULL        (void*)0L
  5. #endif
  6.  
  7. #define EOS            '\0'
  8. #define LINELEN        512
  9. #define ESCAPE        0x35
  10.  
  11. typedef unsigned long u_long;
  12. typedef unsigned short u_short;
  13. typedef unsigned char u_byte;
  14.  
  15. #define TopLeft(aRect)        (* (Point *) &(aRect).top)
  16. #define BottomRight(aRect)    (* (Point *) &(aRect).bottom)
  17.  
  18. #define SBarWidth    15            /* Scroll bar width */
  19.  
  20. #define BTNON    1                /* radio button status */
  21. #define BTNOFF    0
  22.  
  23. #define ACTIVE         0            /* control hilite status */
  24. #define INACTIVE     255
  25.